<div ng-controller="practice1Controller">
	<h1>Practice_1</h1>
	<h2>
        $apply 传播model的变化
    </h2>
    <h2>
        $watch 监听model的变化
    </h2>
	<div class="row" ng-click="show()" style="cursor:pointer">
        <h3>{{name}}<br />{{age}}</h3>        
    </div>
    <div class="row">
        <p>价格：<input type="text" ng-model="iphone.money" /></p>
        <p>个数：<input type="text" ng-model="iphone.num" /></p>
        <p>费用：<span>{{sum() | currency:'￥'}}</span></p>
        <p>运费：<span>{{iphone.fre | currency:'￥'}}</span></p>
        <p>总额：<span>{{sum()+iphone.fre | currency:'￥'}}</span></p>
    </div>
</div>